package com.ynny.dao;

import com.ynny.entity.Student;

import java.util.List;

public interface StudentDao {
    void updateUserByName(String name, Student updatedStudent);
    Student getStudentByNumber(String number);
    List<Student> getAllStudents();

    void addStudent(Student student);
}
